projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
413d1aa
)
(dired-get-filename): Encode file name using the buffer's coding system.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 30 Aug 1997 19:46:24 +0000
(19:46 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 30 Aug 1997 19:46:24 +0000
(19:46 +0000)
lisp/dired.el
patch
|
blob
|
history
diff --git
a/lisp/dired.el
b/lisp/dired.el
index 30348d62ffcfe0565e0a24e4d956b9c49f64eee6..e3273f732f09b94c2ec7572dbf3cd32767131c96 100644
(file)
--- a/
lisp/dired.el
+++ b/
lisp/dired.el
@@
-1299,6
+1299,8
@@
Optional arg NO-ERROR-IF-NOT-FILEP means return nil if no filename on
"\\([^\\]\\|\\`\\)\"" file "\\1\\\\\"" nil t)
file)
"\"")))))
+ (if buffer-file-coding-system
+ (setq file (encode-coding-string file buffer-file-coding-system)))
(if (eq localp 'no-dir)
file
(and file (concat (dired-current-directory localp) file)))))